eeprom: Make eeprom_write_enable() weak
authorMarek Vasut <[email protected]>
Tue, 10 Nov 2015 19:53:25 +0000 (20:53 +0100)
committerTom Rini <[email protected]>
Sun, 22 Nov 2015 02:50:23 +0000 (21:50 -0500)
commit52cd47c9a5b467dd865e872647e9820d85e4292b
tree053d9ea092b676f2f5ea033d07cd27af49b19a65
parent02c321cf88c14f330e696830554739d745bb359d
eeprom: Make eeprom_write_enable() weak

Make this function weak and implement it's weak implementation
so that the boards can just reimplement it. This zaps the horrid
CONFIG_SYS_EEPROM_WREN macro.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Heiko Schocher <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
common/cmd_eeprom.c